table td,
table th {
	vertical-align: top;
}

#page {
	background: #fff;
	padding: 10px;
}

a {
	color: #0092e8;
}

#head {
	padding-top: 5px;
	background: #e8f5fd url('images/headerbg.png') repeat-x;
}
#head span {
	font-size: 25px;
	font-weight: bold;
	padding-left: 10px;
}
#head span a {
	text-decoration: none;
	color: #000;
}

#jhtnav {
	padding: 0;
	height: 28px;
	border-bottom: 1px solid #95d2f6;
	font-size: 12px;
}
#jhtnav ul.main_nav {
	float: left;
	margin: 0px;
	padding: 0px;
	margin-right: 5px;
	margin-top: 4px;
	padding-left: 10px;
}
#jhtnav ul.main_nav li {
	padding: 0px;
	margin: 0px;
	display: inline;
}
#jhtnav ul.main_nav li a {
	height: 18px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 5px;
	display: block;
	float: left;
	border: 1px solid #95d2f6;
	border-left: 0;
	border-bottom: 0px;
	background: #fff;
}
#jhtnav ul.main_nav li.active a {
	height: 19px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 5px;
	display:block;
	float: left;
	border-bottom: 0px;
	background: #fff;
}
#jhtnav ul.main_nav li.first a {
	border-left: 1px solid #95d2f6;
}
#jhtnav ul.main_nav a, #nav ul.main_nav li.active a:hover {
	text-decoration: none;
}
#jhtnav ul.main_nav a:hover {
	text-decoration: underline;
}
#jhtnav ul.main_nav li.standalone a {
	margin-left: 10px;
	border-left: 1px solid #95d2f6;
}

#nav #meta_nav ul {
	float: left;
	margin: 0px;
	padding: 0px;
	margin-right: 5px;
	margin-top: 0px;
	padding-left: 10px;
}
#nav #meta_nav ul li {
	padding: 0px;
	margin: 0px;
	display: inline;
}
#nav #meta_nav ul li a {
	height: 16px;
	padding: 3px;
	padding-bottom: 0;
	display: block;
	float: left;
	border: 1px solid #95d2f6;
	border-left: 0;
	border-bottom: 0px;
	background: #fff;
	text-decoration: none;
}
#nav #meta_nav ul li.active a {
	height: 17px;
}
#nav #meta_nav ul li.first a {
	border-left: 1px solid #95d2f6;
}
#nav #meta_mav ul a, #nav #meta_nav ul li.active a:hover {
	text-decoration: none;
}
#nav #meta_nav ul a:hover {
	text-decoration: underline;
}

#nav #meta_nav {
	float: right;
	padding-top: 8px;
	padding-right: 8px;
}


#foot {
	border-top: 1px solid #95d2f6;
	padding: 5px;
	font-size: small;
}
#foot #copyright {
	float: right;
}

h1 {
	font-size: 20px;
	margin: 0;
}
h2 {
	font-size: 18px;
}
h3,h4 {
	margin: 10px 0 5px 0;
}

/* Project listing */
ul.projects {
	
}
ul.projects li {
	margin: 10px 0;
}
ul.projects h2 {
	margin: 0;
}
ul.projects .quick_nav {
	margin: 2px 0;
	display: block;
	font-size: 12px;
}

/* Milestone stuff */
.milestone {
	margin: 12px 0;
}
.milestone h2 {
	margin: 0;
}
.milestone .progress {
	width: 250px;
	border: 1px solid #000;
}
.milestone .progress td {
	
}
.milestone .progress .closed {
	background: #317b2c;
}
.milestone .progress a {
	display: block;
	padding: 6px 0;
}
.milestone .percent {
	font-size: small;
}
.milestone .info dl {
	font-size: 10px;
	font-style: italic;
	margin: 2px 0 7px;
	white-space: nowrap;
}
.milestone .info dt {
	display: inline;
	margin: 0;
}
.milestone .info dd {
	display: inline;
	margin: 0 8px 0 2px;
}
.milestone .date {
	color: #888;
	font-style: italic;
	margin: 0;
}

/* Ticket Stuff */
#ticket_history, #update_ticket {
	border: 1px solid #000;
	border-top: 1px solid #aaa;
	border-left: 1px solid #aaa;
	padding: 4px;
}
#ticket_history h3 {
	margin: 0;
	border-bottom: 1px solid #888;
	font-size: 14px;
}
#ticket_history ul {
	margin: 5px 0;
	padding: 0 0 0 20px;
}
#ticket_history ul li {
}
#ticket_history .change_comment {
	padding: 6px 4px;
}
#ticket_history .ticket_change_actions {
	float: right;
	padding: 2px 0 2px 2px;
}

/* Timeline Stuff */
#timeline .day h3 {
	margin: 0px;
}

/* Messages */
.message.error {
	border: 1px solid #C00;
	color: #C00;
	padding: 4px;
	margin-bottom: 4px;
}
.error {
	border: 1px solid #C00;
	color: #C00;
}

/* Form stuff */
form {
	margin: 0;
}
form.new_ticket {
	margin: 0 auto;
}
form p#buttons {
	margin: 5px 0 0 0;
}
#update_ticket textarea {
	width: 560px;
	height: 100px;
}
fieldset.properties th {
	text-align: right;
	width: 20%;
	padding-right: 2px;
	font-weight: normal;
}
fieldset.properties td {
	padding-left: 2px;
}
fieldset.properties .col2 {
	border-left: 1px dotted #d7d7d7;
}
input[type=text], input[type=password], textarea {
	border: 1px solid #d7d7d7;
}
input[type=text], input[type=password] {
	padding: .25em .5em;
}
input[type=text]:focus, input[type=password]:focus, textarea:focus {
	border: 1px solid #886;
}
fieldset {
	border: 1px solid #d7d7d7;
	padding: .5em;
	margin: 0 0 4px 0;
}
fieldset.iefix {
	background: transparent;
	border: none;
	padding: 0;
	margin: 0;
}
* html fieldset.iefix {
width: 98%;
}
fieldset.iefix p {
	margin: 0;
}
legend {
	color: #999;
	padding: 0 .25em;
	font-size: 90%;
	font-weight: bold;
}
label.disabled {
	color: #d7d7d7;
}
fieldset.error {
	border: 1px solid #C00;
	color: #C00;
}
fieldset.error legend {
	color: #C00;
}
fieldset.error input[type=text], fieldset.error input[type=password] {
	border: 1px solid #C00;
}
.form p {
	margin: 0 0 5px 0;
}
.form span {
	float: left;
	width: 100px;
	margin-right: 5px;
}

/* New/Edit ticket form */
form.new_ticket {
	width: 600px;
}
form.new_ticket input.summary {
	width: 98%;
}
form.new_ticket textarea.body {
	width: 98%;
	height: 150px;
}

/* Ticket display */
#ticket {
	background: #ffd;
	border: 1px outset #996;
	padding: 5px;
	position: relative;
}
#ticket h1.summary {
	margin: 0 0 8px 0;
}
#ticket h2.summary {
	margin: 0 0 .8em 0;
}
#ticket .date {
	color: #996;
	float: right;
	font-size: 85%;
	position: relative;
}
#ticket .date p {
	margin: 0;
}

#ticket table.properties {
	border-top: 1px solid #dd9;
	border-collapse: collapse;
	table-layout: fixed;
	width: 100%;
}
#ticket table.properties tr {
	border-bottom: 1px dotted #eed;
}
#ticket table.properties td, #ticket table.properties th {
	font-size: 80%;
	padding: .5em 1em;
	vertical-align: top;
}
#ticket table.properties th {
	color: #663;
	font-weight: normal;
	text-align: left;
	width: 20%;
}
#ticket table.properties td {
	width: 30%;
}
#ticket table.properties .description {
	border-top: 1px solid #dd9;
}


#ticket .description h3 {
	border-bottom: 1px solid #dd9;
	color: #663;
	font-size: 100%;
	font-weight: normal;
}
#ticket .inlinebuttons, #history .inlinebuttons { 
	float: right;
}

#ticket .inlinebuttons input, #history .inlinebuttons input {
	font-size: 70% !important;
	border-width: 1px;
	border-style: dotted;
	margin: 5px 0;
	padding: 1px !important;
}

/* Listings table */
table.listing {
	clear: both;
	border-bottom: 1px solid #d7d7d7;
	border-collapse: collapse;
	border-spacing: 0;
	margin-top: 1em;
	width: 100%;
}
table.listing th {
	text-align: left;
	padding: 0 1em .1em 0;
	font-size: 12px;
}
table.listing thead {
	background: #fff;
}
table.listing thead th {
	border: 1px solid #d7d7d7;
	border-bottom-color: #999;
	font-size: 11px;
	font-weight: bold;
	padding: 2px .5em;
	vertical-align: bottom;
}
table.listing thead th a, table.listing thead th a:hover {
	background-color: transparent;
}
table.listing thead th a {
	border: none;
	padding-right: 12px;
}
table.listing tbody td {
	padding: .1em .5em !important;
}
table.listing th.asc a, table.listing th.desc a {
	font-weight: bold;
}
table.listing th.asc a, table.listing th.desc a {
	background-position: 100% 50%;
	background-repeat: no-repeat;
}
table.listing tbody td, table.listing tbody th {
	border: 1px dotted #ddd;
	padding: .33em .5em;
	vertical-align: top;
}
table.listing tbody td a:hover, table.listing tbody th a:hover {
	background-color: transparent;
}
table.listing tbody tr {
	border-top: 1px solid #ddd;
}
table.listing tbody tr.even {
	background-color: #fcfcfc;
}
table.listing tbody tr.odd {
	background-color: #f7f7f7;
}
table.listing tbody tr:hover {
	background: #fff !important;
}

table.tickets tbody tr.priority6 {
	background: #f0f0f0;
	border-color: #ddd;
}
table.tickets tbody tr.even.priority6 {
	background: #f7f7f7;
}
table.tickets tbody tr.priority5 {
	background: #fdc;
	border-color: #e88;
}
table.tickets tbody tr.even.priority5 {
	background: #fed;
	border-color: #e99;
}
table.tickets tbody tr.priority4 {
	background: #ffb;
	border-color: #eea;
}
table.tickets tbody tr.even.priority4 {
	background: #ffd;
	border-color: #dd8;
}
table.tickets tbody tr.priority3 {
	background: #e7ffff;
	border-color: #cee;
}
table.tickets tbody tr.even.priority3 {
	background: #dff;
	border-color: #bee;
}
table.tickets tbody tr.priority2 {
	background: #e7eeff;
	border-color: #cde;
}
table.tickets tbody tr.even.priority2 {
	background: #dde7ff;
}
table.tickets tbody tr.priority1 {
	background: #fbfbfb;
	border-color: #ddd;
}
table.tickets tbody tr.even.priority1 {
	background: #f6f6f6;
	border-color: #ccc;
}
.tickets thead th.id {
	width: 50px;
}
.tickets tbody td a, .tickets tbody td a {
	/*display: block;*/
}
.tickets {
	border-bottom: none;
}
.tickets thead th {
	text-transform: capitalize;
	white-space: nowrap;
}
.tickets tbody td.id a {
	font-weight: bold;
}

/* Ticket Filters */
#ticket_filters .label {
	font-size: 12px;
	text-align: right;
	font-weight: bold;
	padding-right: 2px;
}
#ticket_filters td.value {
	width: 100%;
}
#ticket_filters td.value label {
	font-size: 12px;
}
#ticket_filters td.mode {
	width: 50px;
}
#ticket_filters .remove {
	width: 20px;
}

/* Changelog */
#changelog ul {
	list-style: none;
	padding: 0 0 0 15px;
	margin: 0;
}
.type_bullet {
	float: left;
	width: 12px;
	text-align: center;
}
.legend {
	font-size: 12px;
	float: right;
}

/* Misc. */
.clear { clear: both; }

/*wiki*/
.redlink
{
	border-bottom:1px dashed red;
}

.extlink
{
	border-bottom:1px dashed green;
}

img.wikiimg
{
	max-width:150px;
	max-height: 150px;
	padding:5px;
	border:1px solid #efefef;
}

.ticket_prop_change
{
	border-bottom: 1px solid #cfcfcf;
}

li.del, del
{
	background-color:#FFCFCF;
	padding:2px;
	list-style:none;
	text-decoration:none
}
li.ins, ins
{
	background-color:#AFFFBA;
	padding:2px;
	list-style:none
	;text-decoration:none
}

div.diff
{
	width:700px;
	height:300px;
	overflow:auto;
	border:1px solid #cfcfcf;
	background:#efefef
}